package com.demo;

import cn.qu.v1.platform.aop.annotation.Aop;
import cn.qu.v1.platform.inject.annotation.Bean;
import cn.qu.v1.platform.inject.annotation.Configuration;
import com.demo.aop.AopIntercept;
import com.demo.aop.AopIntercept1;

/**
 * Created by zh on 17/1/11.
 */
@Configuration
public class Conf {

    @Aop
    public AopIntercept createAopIntercept() {
        return new AopIntercept();
    }

    @Aop
    public AopIntercept1 createAopIntercept1() {
        return new AopIntercept1();
    }

    //    @Bean(proxy = true, intercept = AopIntercept.class)
    @Bean
    public B createB() {
        return new B();
    }
}
